#define _CRT_SECURE_NO_WARNINGS 1
#include"List.h"
int main()
{
	LN* phead = NULL;
	phead = ListNodeInit(phead);
	Head_push(phead,6);
	Head_push(phead, 6);
	Head_push(phead, 6);
	Head_push(phead, 6);
	Tail_push(phead, 3);
	List_Print(phead);
	Head_pop(phead);
	Head_pop(phead);
	List_Print(phead);
	def_pop(phead);
	List_Print(phead);
	Head_pop(phead);
	List_Print(phead);
	LN* x = List_find(phead,6);
	if (x)
	{
		List_push(x, 4);
	}
	List_Print(phead);
	x = List_find(phead, 6);
	if (x)
	{
		List_pop(x);
	}
	List_Print(phead);


	return 0;
	
}